public void Update(AvailableLeave availableLeaveVM)
 {
     this.Id       = availableLeaveVM.Id;
     this.ThisYear = availableLeaveVM.ThisYear;
     this.LastYear = availableLeaveVM.LastYear;
 }
 public AvailableLeave(AvailableLeave availableLeaveVM)
 {
     this.ThisYear = availableLeaveVM.ThisYear;
     this.LastYear = availableLeaveVM.LastYear;
 }