public async Task <IHttpActionResult> EditStatus(int userID, string status)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var user = await db.Users.FirstOrDefaultAsync((u) => u.UserID == userID);

            if (user == null)
            {
                return(NotFound());
            }

            if (user.Status == status.ToUpper())
            {
                return(BadRequest());
            }
            else
            {
                if (user.Status == "ONLINE")
                {
                    await db.GoOffline(userID);
                }
                else
                {
                    await db.GoOnline(userID);
                }
            }

            return(Ok());
        }