Example #1
0
        public async Task EditForm(Form form)
        {
            if (form == null)
            {
                throw new ArgumentNullException(nameof(form));
            }
            if (form.Adress != "")
            {
                FormDTO form_w_NewGeo = await _IGeoProvider.GetAdress(new FormDTO(form));

                await _IformRepository.EditForm(form_w_NewGeo);
            }
            else
            {
                await _IformRepository.EditForm(new FormDTO(form));
            }
        }