public async Task <ActionResult> RejectAd(int id, [FromServices] IAdService ads) { return(await ads .DeleteAsync(id) .ToActionResult()); }
public async Task <ActionResult> RejectAd(int id, [FromServices] IAdService ads) { return(await ads .DeleteAsync(id) .ToActionResult()); }