public async Task <AttachmentService> UpdateAttachmentService(AttachmentService att) { return(await _repository.UpdateAsync(att)); }
public async Task InsertAttachment(AttachmentService AttachmentsInfo) { await _repository.InsertAsync(AttachmentsInfo); }
public async Task <AttachmentService> DeleteAttachment(AttachmentService AttachmentsInfo) { return(await _repository.UpdateAsync(AttachmentsInfo)); }
public async Task <AttachmentService> CreateAttachment(AttachmentService AttachmentsInfo) { AttachmentsInfo.Id = await _repository.InsertAndGetIdAsync(AttachmentsInfo); return(AttachmentsInfo); }