public async Task <PersonRelationsViewModel> CreatePersonPartialViewRelationsModel(string personId) { var vm = new PersonRelationsViewModel(); vm.Person = await _mgrFcc.GetPerson(personId); vm.SameRelationsAvaible = await _mgrFcc.CheckIfSameRelationsAvaible(personId); foreach (var relationsType in await _mgrFcc.GetPersonsRelationTypes(personId)) { vm.Relations.Add(relationsType, await _mgrFcc.GetPersonByRelationType(personId, relationsType)); } return(vm); }