Esempio n. 1
0
 public IActionResult GetAll(BusinessActionRequest request)
 {
     return(new OkObjectResult(_actionService.GetAll(request)));
 }
 public async Task <List <BusinessActionViewModel> > GetAll(BusinessActionRequest request)
 {
     return(new BusinessActionViewModel().Map(await _repository.FindAll(x => x.BusinessId == request.BusinessId)).ToList());
 }
Esempio n. 3
0
 public async Task <IActionResult> GetAll(BusinessActionRequest request)
 {
     return(new OkObjectResult(await _actionService.GetAll(request)));
 }