public bool ValidateSingleBillingEmailId(string BillingEmailId, int TissueBankId) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(t => t.BillingEmailId == BillingEmailId && t.TissueBankId != TissueBankId); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateSingleTissueBankStateLicense(string TissueBankStateLicense, int TissueBankId) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.TissueBankStateLicense == TissueBankStateLicense && c.TissueBankId != TissueBankId); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateSingleBillingContactNumber(string BillingContactNumber, int TissueBankId) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(t => t.BillingContactNumber == BillingContactNumber && t.TissueBankId != TissueBankId); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateSingleContactPersonNumber(string ContactPersonNumber, int TissueBankId) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.ContactPersonNumber == ContactPersonNumber && c.TissueBankId != TissueBankId); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateSingleAATBLicenseNumber(string AATBLicenseNumber, int TissueBankId) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.AATBLicenseNumber == AATBLicenseNumber && c.TissueBankId != TissueBankId); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateSingleTissueBankEmailId(string TissueBankEmailId, int TissueBankId) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.TissueBankEmailId == TissueBankEmailId && c.TissueBankId != TissueBankId); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateUniqueTissueBankStateLicense(string TissueBankStateLicense) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.TissueBankStateLicense == TissueBankStateLicense); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateUniqueAATBLicenseNumber(string AATBLicenseNumber) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.AATBLicenseNumber == AATBLicenseNumber); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateUniqueBillingContactNumber(string BillingContactNumber) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.BillingContactNumber == BillingContactNumber); if (tissueBank == null) { return(true); } return(false); }
public bool ValidateUniqueBillingEmailId(string BillingEmailId) { TissueBank tissueBank = dbConnection.TissueBank.FirstOrDefault(c => c.BillingEmailId == BillingEmailId); if (tissueBank == null) { return(true); } return(false); }