public ActionResult SignIn(int id) { var employee = EmployeeServices.GetUser(id); if (employee == null) { throw new ArgumentException(string.Format("No employee found with an id = {0}", id)); } SecurityServices.SignIn(employee, base.LocationId); var employees = InvoiceServices.GetSignedInEmployees(base.LocationId, forceRefresh: true); return(PartialView("_AvailableEmployees", employees)); }