/// <summary></summary> /// <param name="licencaId"></param> /// <returns></returns> public Licenca getLicencaById(int licencaId) { BuscarLicenca buscar = new BuscarLicenca(this._context); return(buscar.buscarLicencaById(licencaId)); }
/// <summary>getLicencaByNome</summary> /// <param name="nome"></param> /// <returns></returns> public Licenca getLicencaByNome(string nome) { BuscarLicenca buscar = new BuscarLicenca(this._context); return(buscar.buscarLicencaByName(nome)); }
/// <summary>getAll</summary> /// <returns></returns> public Licenca[] getAll() { BuscarLicenca buscar = new BuscarLicenca(this._context); return(buscar.buscarLicencas()); }