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

            request.SetIssueId(issuer?.Id ?? 0);
        }