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