public async Task <int> Count([FromBody] ShippingAddressMaster_ShippingAddressFilterDTO ShippingAddressMaster_ShippingAddressFilterDTO) { if (!ModelState.IsValid) { throw new MessageException(ModelState); } ShippingAddressFilter ShippingAddressFilter = ConvertFilterDTOToFilterEntity(ShippingAddressMaster_ShippingAddressFilterDTO); return(await ShippingAddressService.Count(ShippingAddressFilter)); }