public static DO.Manager Conv_BO_To_DO(BO.Manager item) { DO.Manager temp = new DO.Manager(); temp.Id = item.ManagerInfo.Id; temp.NumOfHosts = Instance.NumOfHosts(); return(temp); }
public static DO.Manager ConverFrom_BO_To_DoManager(BO.Manager other) { DO.Manager temp = new DO.Manager(); temp.Id = other.info.Id; temp.NumberOfHosts = instance.NumOfHosts(); return(temp); }
public static BO.Manager ConverFrom_DO_To_BoManager(DO.Manager other) { BO.Manager temp = new BO.Manager(); temp.info = instance.GetPerson(other.Id); return(temp); }
public static BO.Manager Conv_DO_To_BO(DO.Manager item) { BO.Manager temp = new BO.Manager(); temp.ManagerInfo = Instance.GetPerson(item.Id); return(temp); }