예제 #1
0
파일: SucursalBL.cs 프로젝트: joedayz/joerp
 public IList <Sucursal> Get()
 {
     try
     {
         return(repository.Get());
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #2
0
        public async Task <SucursalEntity> GetSucursal(int Id)
        {
            var entidad = await _SucursalRepository.Get(Id);

            return(entidad);
        }