Example #1
0
        public Response Delete(int id)
        {
            Response res = new Response();

            try
            {
                userSql.DeleteUser(id);
                res.success("Removed");
            }
            catch (Exception e)
            {
                res.error(e.Message);
            }
            return(res);
        }