Example #1
0
        public IHttpActionResult AddFunction(string functionName)
        {
            var response = usersServices.AddFunction(functionName);

            if (response.ResultType)
            {
                return(Ok(response));
            }
            return(Content(HttpStatusCode.BadRequest, response));
        }