Prizm.Main.Forms.PipeMill.Heat.HeatViewModel.SetupHeats C# (CSharp) Method

SetupHeats() private method

private SetupHeats ( ) : void
return void
        private void SetupHeats()
        {
            try
            {
            heats = new List<Prizm.Domain.Entity.Mill.Heat>(repo.HeatRepo.GetAll().ToList());
            }
            catch(RepositoryException ex)
            {
                log.Warn(this.GetType().Name + " | " + ex.ToString());
                notify.ShowWarning(Program.LanguageManager.GetString(StringResources.Notification_Error_Db_Message),
            Program.LanguageManager.GetString(StringResources.Notification_Error_Db_Header));
            }
        }