public IActionResult CreateLst([FromBody] List <CommonResourcesCreateModel> model) { var res = _commonResourcesServices.CreateNewList(model); if (!res.Succeeded) { return(BadRequest("Can not create new data")); } return(Ok(res)); }
public IActionResult CreateLst([FromBody] List <CommonResourcesCreateModel> model) { var res = _commonResourcesServices.CreateNewList(model); if (!res.Succeeded) { return(BadRequest("Can not create new data")); } return(Ok(res)); }