public IHttpActionResult DeleteFollow(int id, int unfollowId) { FollowStoredProcedureRepository followStored = new FollowStoredProcedureRepository(); Follow follow = followStored.DeleteFollow(id, unfollowId); return(Ok(follow)); }
public IHttpActionResult FollowProfile(Follow follow) { FollowStoredProcedureRepository followStored = new FollowStoredProcedureRepository(); followStored.FollowProfile(follow); return(Ok(follow)); }
public IHttpActionResult GetFollow(int id, int followingId) { Follow follow = new Follow(); FollowStoredProcedureRepository followStored = new FollowStoredProcedureRepository(); follow = followStored.CheckFollow(id, followingId); return(Ok(follow)); }