Пример #1
0
        public UI.FieldDefinition CreateField(UI.FieldDefinition field)
        {
            var dbField = Mapper.Map <DAL.Models.Field>(field);

            dbField = DbEditorService.CreateField(dbField);

            return(Mapper.Map <UI.FieldDefinition>(dbField));
        }