Exemple #1
0
        public IActionResult GetMyContacts(string userId)
        {
            var contacts = _residentContactService.GetResidentContactsByParams(new ResidentContactsFilterParams
            {
                UserId = userId
            });

            return(Json(JsonResultData.Success(contacts)));
        }
        public IActionResult GetResidentContacts([FromBody] ResidentContactsFilterParams filterParams)
        {
            var residents = _residentContactService.GetResidentContactsByParams(filterParams);

            return(Json(JsonResultData.Success(residents)));
        }