Example #1
0
        public IActionResult AddProjectFunderHelp([FromBody] ProjectFunderHelp model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            var response = service.AddHelpForProjectFunder(model);

            if (!response.Success)
            {
                return(BadRequest(response.Message));
            }
            return(Ok(true));
        }