public UsersController(IGenericRepositery <User> userRepo, IAuthRepository authRepo) { this.userRepo = userRepo; this.authRepo = authRepo; }
public PostsController(IGenericRepositery <Post> postRepo) { this.postRepo = postRepo; }
public UsersController(IGenericRepositery <User> userRepo, IAuthRepository authRepo) { this.userRepo = userRepo; this.authRepo = authRepo; }
public PostsController(IGenericRepositery <Post> postRepo) { this.postRepo = postRepo; }