public async Task <long> CollectCertificate(long id, Attachment attachment, string senderName, Guid userID, string username) { return(await _caseService.CollectCertificate(id, attachment, senderName, new Officer(userID, username))); }
public async Task <long> CollectCertificate(long id, [FromBody] Attachment attachment, string senderName) { return(await _caseService.CollectCertificate(id, attachment, senderName)); }