Beispiel #1
0
        public string DuplicityLicenseUpdateDetails(ProductLicenseUpdateDetails LicenseUpdateDetails)
        {
            var mstr_returnmsg = "notexist";
            var dupes          = _ProductLicenseUpdateDetailsRepository.Table.Where(x => x.LicenseId == LicenseUpdateDetails.LicenseId && x.Deactivate == "N").FirstOrDefault();

            if (dupes != null)
            {
                mstr_returnmsg = "duplicate";
            }

            return(mstr_returnmsg);
        }
Beispiel #2
0
 public void InsertProductLicenseUpdateDetails(ProductLicenseUpdateDetails ProductLicenseUpdate)
 {
     _ProductLicenseUpdateDetailsRepository.Insert(ProductLicenseUpdate);
 }
Beispiel #3
0
 public void DeleteProductLicenseUpdateDetails(ProductLicenseUpdateDetails UpdateDetails)
 {
     _ProductLicenseUpdateDetailsRepository.Delete(UpdateDetails);
 }