/// <summary> /// /// </summary> /// <param name="companyCode"></param> /// <returns></returns> public Customer GetByCompanyCode(string companyCode) { return(_customer.One(CustomerQuery.WithByCompanyCode(companyCode))); }
/// <summary> /// /// </summary> /// <param name="id"></param> /// <returns></returns> public Customer GetById(int id) { return(_customer.One(CustomerQuery.WithById(id))); }