Beispiel #1
0
        public async Task <IHttpActionResult> DeleteAdAsync([FromUri] string id)
        {
            var result = await mongoDbContext.DeleteAdAsync(id);

            return(StatusCode(HttpStatusCode.NoContent));
        }