public async Task <IActionResult> Delete(int id) { string email = User.Identity.Name; await familyService.DeleteFamilyAsync(id, email); return(Ok()); }