Esempio n. 1
0
        public async Task <GovtPublication> UpdateAsync(GovtPublication GovtPublication)
        {
            GovtPublication.LastModificationDate = DateTime.Now;
            var result = await _unitOfWork.Govts.UpdateAsync(GovtPublication);

            return(result);
        }
Esempio n. 2
0
 public async Task InsertAsync(GovtPublication GovtPublication)
 {
     GovtPublication.CreationTime = DateTime.Now;
     await _unitOfWork.Govts.InsertAsync(GovtPublication);
 }