public Work Get(int id) { return(_workDal.Get(w => w.Id == id)); }
public void DeleteWork(int id) { var work = _workDal.Get(p => p.Id == id); _workDal.Delete(work); }
public Work Get(int id) { return(_workDal.Get(w => w.Id == id)); }
public void DeleteWork(int id) { var work = _workDal.Get(p => p.Id == id); _workDal.Delete(work); }