public ProfileService(TennisConnectDbContext context, IUserService userService, IClubService clubService, IAddressService addressService) { _context = context; _userService = userService; _clubService = clubService; _addressService = addressService; }
private bool GetAddressReferences(int addressId) { var query = _context.Addresses .Where(x => x.Id == addressId) .Select(d => TennisConnectDbContext.GetAddressReferences(addressId)); return(query.FirstOrDefault()); }
public UserService(TennisConnectDbContext context) { _context = context; }
public AddressService(TennisConnectDbContext context) { _context = context; }
public FriendService(TennisConnectDbContext context) { _context = context; }