public void AddRecordToRepo(LandingSite ls) { if (ls == null) { throw new ArgumentNullException("Error: The argument is Null"); } LandingSiteCollection.Add(ls); }
public bool AddRecordToRepo(LandingSite ls) { if (ls == null) { throw new ArgumentNullException("Error: The argument is Null"); } LandingSiteCollection.Add(ls); return(_editSuccess); }