public ActionResult Index(string payload)
        {
            Checkin checkin = CheckInHelper.SaveCheckIn(payload);

            EmailHelper.SendEmail(checkin);

            return(Json(new CheckInResponse("Checkin recorded, email sent")));
        }
        public ActionResult Index(int projectId, int userId, CheckInInfo checkInInfo)
        {
            Checkin checkin = CheckInHelper.SaveCheckIn(projectId, userId, checkInInfo);

            EmailHelper.SendEmail(checkin);

            return(Json(new CheckInResponse("Checkin recorded, email sent")));
        }