public ActionResult GetAllRoles() { ImageIndexBLL imageIndexBLL = new ImageIndexBLL(); var roles = imageIndexBLL.GetAllRoles(); return(Json(roles, JsonRequestBehavior.AllowGet)); }
public HomeController() { _imageIndexBLL = new ImageIndexBLL(); }
public ActionResult GetAllRoles() { ImageIndexBLL imageIndexBLL = new ImageIndexBLL(); var roles = imageIndexBLL.GetAllRoles(); return(Json(roles, JsonRequestBehavior.AllowGet)); }
public HomeController() { _imageIndexBLL = new ImageIndexBLL(); }