public async Task <string> AcknowledgeBatch([FromBody] long[] ids, Guid userID, string userName) { await _certificateService.AcknowledgeCertificateBatch(ids, new Officer { ID = userID, Name = userName }); return("Ok"); }
public async Task <string> Acknowledge([FromBody] long[] ids) { await _certificateService.AcknowledgeCertificateBatch(ids); return("Ok"); }