예제 #1
0
 public async Task <AttachmentService> UpdateAttachmentService(AttachmentService att)
 {
     return(await _repository.UpdateAsync(att));
 }
예제 #2
0
 public async Task InsertAttachment(AttachmentService AttachmentsInfo)
 {
     await _repository.InsertAsync(AttachmentsInfo);
 }
예제 #3
0
 public async Task <AttachmentService> DeleteAttachment(AttachmentService AttachmentsInfo)
 {
     return(await _repository.UpdateAsync(AttachmentsInfo));
 }
예제 #4
0
        public async Task <AttachmentService> CreateAttachment(AttachmentService AttachmentsInfo)
        {
            AttachmentsInfo.Id = await _repository.InsertAndGetIdAsync(AttachmentsInfo);

            return(AttachmentsInfo);
        }