예제 #1
0
        public async Task <IHttpActionResult> Delete([FromUri] string id)
        {
            if (id is null)
            {
                return(BadRequest("Id of geolocation to delete cannot be null."));
            }

            await geolocationService.DeleteGeolocationAsync(id);

            return(Ok(id));
        }