Ejemplo n.º 1
0
        public IActionResult AddProjectDisbursementHelp([FromBody] ProjectDisbursementHelp model)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            var response = service.AddHelpForProjectDisbursement(model);

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