public int InsertRightsSellingMaster(RightsSellingMaster RightsSellingMaster)
 {
     _RightsSellingMaster.Insert(RightsSellingMaster);
     return(RightsSellingMaster.Id);
 }
 public void UpdateRightsSellingMaster(RightsSellingMaster RightsSellingMaster)
 {
     _RightsSellingMaster.Update(RightsSellingMaster);
 }
 public RightsSellingMaster GetRightsSellingById(RightsSellingMaster RightsSelling)
 {
     return(_RightsSellingMaster.Table.Where(i => i.Id == RightsSelling.Id).FirstOrDefault());
 }