public bool DeleteAllocationDetailLine(AllocationDetailLine allocationDetailLine) { if (allocationDetailLine == null) return false; _unitOfWork.AllocationDetailLineRepository.Delete(allocationDetailLine); _unitOfWork.Save(); return true; }
public bool EditAllocationDetailLine(AllocationDetailLine allocationDetailLine) { _unitOfWork.AllocationDetailLineRepository.Edit(allocationDetailLine); _unitOfWork.Save(); return true; }