public IHttpActionResult UnFollow(Guid userId, Guid followerUserId) { using (var bal = new UserFollowerBAL()) { bal.UnFollow(userId, followerUserId); return(Ok("Data Successful Deleted")); } }
public IHttpActionResult UnFollow(Guid userId) { return(Run(() => { using (var bal = new UserFollowerBAL()) { bal.UnFollow(UserId, userId); return "Data Successful Deleted"; } })); }