public async Task <DocumentType> GetDocType() { return(await _lookupsService.FindWhere <DocumentType>(a => a.Code == "MOICSO003")); }
private async Task SetIssuerId(Request request, string issuerCode) { var issuer = await _lookupsService.FindWhere <Issuer>(a => a.Code == issuerCode); request.SetIssueId(issuer?.Id ?? 0); }