public int UpdatePendingUploadRecord(DLModel.PendingUpload modelPendingUpload) { return(_pendingUploadRepository.Update((DLModel.PendingUpload) new DLModel.PendingUpload().InjectFrom(modelPendingUpload), p => p.PendingUploadId, p => p.IsDeleted, p => p.DeletedOn, p => p.DeletedBy)); }
public int AddPendingUploadRecord(DLModel.PendingUpload modelPendingUpload) { return(_pendingUploadRepository.Add((DLModel.PendingUpload) new DLModel.PendingUpload().InjectFrom(modelPendingUpload)).PendingUploadId); }