示例#1
0
        /// <summary>
        /// Get all apps that are in database
        /// </summary>
        /// <returns>
        /// List of all apps
        /// </returns>
        public async Task <IEnumerable <Apps> > GetAll()
        {
            try
            {
                var appList = await repo.GetAllApplications();

                return(appList);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }

            return(null);
        }