Esempio n. 1
0
        public string DeleteById(int id)
        {
            string responseString = null;

            try
            {
                responseString      = communicationController.DeleteById(id);
                Response.StatusCode = 200;
            }
            catch (Exception ex)
            {
                Response.StatusCode = 500;
                Response.WriteAsync(ex.Message);
            }
            return(responseString);
        }