public async System.Threading.Tasks.Task <ActionResult> Index()
        {
            var UserManager = HttpContext.GetOwinContext().GetUserManager <ApplicationUserManager>();
            var user        = await UserManager.FindByNameAsync(User.Identity.Name);

            if (user != null)
            {
                Commonhelper.SetCookie("CompanyId", user.CompanyId.ToString(), TimeSpan.FromHours(30));
                Commonhelper.GetStores();
                Commonhelper.GetUserRole();
            }
            else
            {
                Commonhelper.GetUserRole();
            }

            return(View());
        }