public async Task<int> AddTicketAsync(RequestFromUserModel model)
 {
     using(var uow = unitOfWorkFactory.GetUnitOfWork())
     {
         Ticket ticketEntity = ticketMapper.Map(model);
         uow.TicketRepository.Add(ticketEntity);
         return await uow.SaveAsync();
     }
 }
 public async Task<IHttpActionResult> CreateTicket(RequestFromUserModel model)
 {
     model.OwnerId = UserId;
     await ticketService.AddTicketAsync(model);
     return Ok();
 }