Пример #1
0
 public TaxTemplate GetTaxTemplateByName(string name)
 {
     return(TaxTemplates.FirstOrDefault(y => y.Name == name));
 }
Пример #2
0
 public TaxTemplate GetTaxTemplateById(int id)
 {
     return(TaxTemplates.FirstOrDefault(x => x.Id == id));
 }