public async Task <IActionResult> EditDetail([FromBody] List <MaterialEditModel> data) { var result = await _service.EditDetail(data); return(Ok(result)); }