Admin controller, Locations controller, requests to add available countries, request to get available countries
This commit is contained in:
		| @@ -0,0 +1,13 @@ | ||||
| namespace ApplicationLayer.DataAccessingServices.Applicants.Models; | ||||
|  | ||||
| public class AddressModel | ||||
| { | ||||
|     /// City part of address | ||||
|     public Guid CityId { get; set; } | ||||
|  | ||||
|     /// Street part of address | ||||
|     public string Street { get; set; } = null!; | ||||
|  | ||||
|     /// Building part of address | ||||
|     public string Building { get; set; } = null!; | ||||
| } | ||||
| @@ -0,0 +1,13 @@ | ||||
| namespace ApplicationLayer.DataAccessingServices.Applicants.Models; | ||||
|  | ||||
| public class PlaceOfWorkModel | ||||
| { | ||||
|     /// Name of hirer | ||||
|     public string Name { get; set; } = null!; | ||||
|  | ||||
|     /// <see cref="AddressModel"/> of hirer | ||||
|     public AddressModel Address { get; set; } = null!; | ||||
|  | ||||
|     /// Phone number of hirer | ||||
|     public string PhoneNum { get; set; } = null!; | ||||
| } | ||||
| @@ -4,4 +4,8 @@ using Domains.ApplicantDomain; | ||||
| namespace ApplicationLayer.DataAccessingServices.Applicants.NeededServices; | ||||
|  | ||||
| /// Repository pattern for <see cref="Applicant"/> | ||||
| public interface IApplicantsRepository : IGenericRepository<Applicant>; | ||||
| public interface IApplicantsRepository : IGenericRepository<Applicant> | ||||
| { | ||||
|     /// Find <see cref="Applicant"/> by Identifier | ||||
|     Task<Applicant> FindByUserIdAsync(Guid userId, CancellationToken cancellationToken); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user