Example #1
0
 public async Task <IActionResult> Create(TitleRequestModel requestModel)
 {
     return(await ExecuteFunction(async (user) =>
     {
         var model = AutoMapperUtils.AutoMap <TitleRequestModel, Title>(requestModel);
         return await _titleService.SaveAsync(model);
     }));
 }