public bool Delete(Leave_Allocation entity)
 {
     _db.LeaveAllocations.Remove(entity);
     return(Save());
 }
 public bool Update(Leave_Allocation entity)
 {
     _db.LeaveAllocations.Update(entity);
     return(Save());
 }
 public bool Create(Leave_Allocation entity)
 {
     _db.LeaveAllocations.Add(entity);
     return(Save());
 }