///<inheritdoc /> public Company AddCompany(Company company) { return(_companyContext.AddCompany(company)); }
public CompanyDto AddCompany(string name, string symbol) { var companyDtoToAdd = new CompanyDto(name, symbol); return(_companyContext.AddCompany(new CompanyDto(name, symbol)) ? companyDtoToAdd : null); }