コード例 #1
0
        public List <Tasks> GetTasks()
        {
            var          ensureDLLIsCopied = System.Data.Entity.SqlServer.SqlProviderServices.Instance;
            List <Tasks> tasks             = new List <Tasks>();

            try
            {
                tasks = taskBL.GetTasks();
            }
            catch
            { return(tasks); }
            return(tasks);
        }