Example #1
0
        public async Task <InsertApplicationResponseDTO> InsertApplicationAsync(InsertApplicationRequestDTO request)
        {
            InsertApplicationResponseDTO response = new InsertApplicationResponseDTO();

            Domain.Entity.Application createdUser = new Domain.Entity.Application(request.ApplicationName, request.Description);

            await uow.Application.InsertAsync(createdUser);

            await uow.CompleteAsync();

            return(response);
        }
Example #2
0
 public async Task <InsertApplicationResponseDTO> InsertApplicationAsync(InsertApplicationRequestDTO request)
 {
     return(await AuthenticationService.InsertApplicationAsync(request));
 }