public ActionResult GetAllAgentUsers(string usernames) { var userlist = _userMaster.GetActiveUsersbyCategoryId(usernames, _sessionHandler.HodCategoryId); return(Json(userlist, JsonRequestBehavior.AllowGet)); }