Esempio n. 1
0
        public async Task <int> Count([FromBody] WardMaster_WardFilterDTO WardMaster_WardFilterDTO)
        {
            if (!ModelState.IsValid)
            {
                throw new MessageException(ModelState);
            }

            WardFilter WardFilter = ConvertFilterDTOToFilterEntity(WardMaster_WardFilterDTO);

            return(await WardService.Count(WardFilter));
        }