public IActionResult CheckFriend(int uid, int fid) { var friends = _frdRepo.CheckFriend(uid, fid); if (friends > 0) { return(Ok(friends)); } return(Ok(0)); }
public IActionResult CheckFriend(int uid, int fid) { var friends = _frdRepo.CheckFriend(uid, fid); if (friends > 0) { return(Ok(friends)); } return(Ok(0)); }