コード例 #1
0
        public async Task <Schema> GetSchemaAsync(string name)
        {
            var dbschema = await Schemas.FirstOrDefaultAsync(s => s.Name == name);

            if (dbschema == null)
            {
                return(null);
            }
            return(Mapper.Map <Schema>(dbschema));
        }