Esempio n. 1
0
 public DivisiModels(DivisiModels divisi) //create
 {
     this.Name         = divisi.Name;
     this.CreateDate   = DateTimeOffset.Now;
     this.IsDelete     = false;
     this.DepartmentId = Department.Id;
 }
Esempio n. 2
0
 public void Update(DivisiModels divisi)
 {
     this.Name         = divisi.Name;
     this.UpdateDate   = DateTimeOffset.Now;
     this.DepartmentId = Department.Id;
 }