Exemple #1
0
        public async Task <IHttpActionResult> Delete(int id)
        {
            var result = await service.Delete(id);

            if (!result)
            {
                return(NotFound());
            }
            return(Ok());
        }