public FamilyModel GetByCHFID(string chfid, Guid userUUID) { FamilyModel response; response = familyRepository.GetByCHFID(chfid, userUUID); return response; }
public FamilyModel GetByCHFID(string chfid, Guid userUUID) { FamilyModel response; response = familyRepository.GetByCHFID(chfid, userUUID); if (response != null) { foreach (var insure in response.Insurees) { insure.PhotoBase64 = PhotoUtils.CreateBase64ImageFromFilepath(_configuration.GetValue <string>("AppSettings:UpdatedFolder"), insure.PhotoPath); } } return(response); }