public async Task GetById()

in Webapp/SDAF/Controllers/SystemController.cs [90:128]


        public async Task<SystemModel> GetById(string id, string partitionKey)
        {
            if (id == null || partitionKey == null) throw new ArgumentNullException();
            var systemEntity = await _systemService.GetByIdAsync(id, partitionKey);
            if (systemEntity == null || systemEntity.System == null) throw new KeyNotFoundException();
            SystemModel s = null;
            try
            {
                s = JsonConvert.DeserializeObject<SystemModel>(systemEntity.System);
            }
            catch
            {

            }
            AppFile file = null;
            try
            {
                file = await _appFileService.GetByIdAsync(id + "_custom_naming.json", partitionKey);
                s.name_override_file = id + "_custom_naming.json";
            }
            catch
            {

            }

            file = null;
            try
            {
                file = await _appFileService.GetByIdAsync(id + "_custom_sizes.json", partitionKey);
                s.custom_disk_sizes_filename = id + "_custom_sizes.json";
                s.database_size = "Custom";
            }
            catch
            {

            }

            return s;
        }