public RelationshipController(IRelationShipManager relationShipManager, IHttpContextAccessor httpContext)
 {
     _relationShipManager = relationShipManager ?? throw new ArgumentNullException(nameof(relationShipManager));
     _httpContext         = httpContext ?? throw new ArgumentNullException(nameof(httpContext));
 }
 public UserController(IUserManager userManager, IHttpContextAccessor httpContext, IRelationShipManager relationShipManager)
 {
     _userManager         = userManager ?? throw new ArgumentNullException(nameof(userManager));
     _relationShipManager = relationShipManager ?? throw new ArgumentNullException(nameof(relationShipManager));
     _httpContext         = httpContext ?? throw new ArgumentNullException(nameof(httpContext));
 }