コード例 #1
0
        public BussinessModel GetByIdBussiness(int id)
        {
            BussinessModel retorno = new BussinessModel();

            retorno = _bussinessRepository.GetByIdBussiness(id);

            if (retorno == null)
            {
                retorno.Retorno = "ID not exist";
            }

            return(retorno);
        }