public int Count(VendorSearchEntity VendorSearchEntity) { return(vendorRepository.Count(VendorSearchEntity)); }
public async Task <string> CountAsync() { return(await _VendorRepo.Count()); }