Esempio n. 1
0
        public async Task <IHttpActionResult> CreateAdAsync(Ad ad)
        {
            var result = await mongoDbContext.AddAd(ad);

            return(Created(ad._id.ToString(), ad));
        }