public async Task <IHttpActionResult> CreateAdAsync(Ad ad) { var result = await mongoDbContext.AddAd(ad); return(Created(ad._id.ToString(), ad)); }