Esempio n. 1
0
        public List <Arac> SelectAllMusaitArac()
        {
            var responseEntities = new List <Arac>();

            try
            {
                using (var repo = new AracRepository())
                {
                    foreach (var entity in repo.SelectAllMusaitCar())
                    {
                        responseEntities.Add(entity);
                    }
                }
                return(responseEntities);
            }
            catch (Exception ex)
            {
                LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
                throw new Exception("BusinessLogic:AracBusiness::SelectAllCArac::Error occured.", ex);
            }
        }