public async Task <IActionResult> All()
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     return(Ok(await _campaignService.All()));
 }
Esempio n. 2
0
 public ActionResult Campaign()
 {
     return(View(model: _campaignService.All()));
 }