public void Insert(int EmployeeID, string TerritoryID) { Employeeterritory item = new Employeeterritory(); item.EmployeeID = EmployeeID; item.TerritoryID = TerritoryID; item.Save(UserName); }
public void Update(int EmployeeID, string TerritoryID) { Employeeterritory item = new Employeeterritory(); item.MarkOld(); item.IsLoaded = true; item.EmployeeID = EmployeeID; item.TerritoryID = TerritoryID; item.Save(UserName); }
public bool Destroy(object EmployeeID) { return(Employeeterritory.Destroy(EmployeeID) == 1); }
public bool Delete(object EmployeeID) { return(Employeeterritory.Delete(EmployeeID) == 1); }