Example #1
0
        public async Task <FieldDTO> Edit(FieldDTO dto)
        {
            var field = dto.MapTo <TField>();
            await fieldRepository.Edit(field, Session);

            return(field.MapTo <FieldDTO>());
        }