public async Task <IHttpActionResult> DeleteAdAsync([FromUri] string id) { var result = await mongoDbContext.DeleteAdAsync(id); return(StatusCode(HttpStatusCode.NoContent)); }