Ejemplo n.º 1
0
        public async Task <ActionResult> Delete(string id)
        {
            // Return "not found" if couldn't find the server.
            bool response = await model.DeleteServer(id);

            if (response == false)
            {
                return(NotFound());
            }
            return(Ok());
        }