public async Task <CustomApiResponse> Post([FromBody] List <MenusDto> entityList) { var inputEntity = _mapper.Map <List <Menus> >(entityList); var result = await _menuService.AddBulk(inputEntity); return(new CustomApiResponse(result)); }
public async Task <CustomApiResponse> Post([FromBody] List <MenusDto> entityList) { var inputEntity = _mapper.Map <List <Menus> >(entityList); var result = await _menuService.AddBulk(inputEntity); return(new CustomApiResponse(result)); }