public async Task <OlaLeaf> UpdateAsync(OlaLeaf OlaLeaf) { OlaLeaf.LastModificationDate = DateTime.Now; var result = await _unitOfWork.Olaleaves.UpdateAsync(OlaLeaf); return(result); }
public async Task InsertAsync(OlaLeaf OlaLeaf) { OlaLeaf.CreationTime = DateTime.Now; await _unitOfWork.Olaleaves.InsertAsync(OlaLeaf); }