public IHttpActionResult AddFunction(string functionName) { var response = usersServices.AddFunction(functionName); if (response.ResultType) { return(Ok(response)); } return(Content(HttpStatusCode.BadRequest, response)); }
public IHttpActionResult AddFunction(string functionName) { var response = usersServices.AddFunction(functionName); if (response.ResultType) { return(Ok(response)); } return(Content(HttpStatusCode.BadRequest, response)); }