saifuddinazhar
6/4/2018 - 3:15 AM

Get Current Centre

current, centre, get, user, default redirect logout

public class QueryTransactController : SecureController
{
  UserDetail userDetail = this.LoggedInUser();
  if (userDetail == null || userDetail.User == null)
  {
      return RedirectToAction("Logout", "Login");
  }
  userDetail.User.DefaultCentreID;
}