protected override void Seed(OBS.MVC.Repositories.OBSIdentityContext context)
        {
            var userManager =
                new UserManager <OBS.MVC.Models.ApplicationUser>(
                    new Microsoft.AspNet.Identity.EntityFramework.UserStore <OBS.MVC.Models.ApplicationUser>(new OBS.MVC.Repositories.OBSIdentityContext()));

            var roleManager = new Microsoft.AspNet.Identity.RoleManager <Microsoft.AspNet.Identity.EntityFramework.IdentityRole>(
                new Microsoft.AspNet.Identity.EntityFramework.RoleStore <Microsoft.AspNet.Identity.EntityFramework.IdentityRole>(
                    new OBS.MVC.Repositories.OBSIdentityContext()));

            //Rolleri oluþturma
            System.Collections.Generic.List <string> roller = new System.Collections.Generic.List <string>()
            {
                "BilgiIslem", "Ogrenci", "OgretimGorevlisi"
            };
            foreach (string rolAdi in roller)
            {
                if (roleManager.RoleExists(rolAdi) == false) //Eðer rol veritabanýnda yok ise rolü oluþtur
                {
                    roleManager.Create(new Microsoft.AspNet.Identity.EntityFramework.IdentityRole(rolAdi));
                }
            }

            string bilgiIslemKullaniciAdi = "ugur";

            if (userManager.FindByName(bilgiIslemKullaniciAdi) == null) //ugur isimli kullanýcý yoksa
            {
                //Kullanýcýyý oluþtur
                OBS.MVC.Models.ApplicationUser bilgiIslemKullanicisi = new OBS.MVC.Models.ApplicationUser()
                {
                    UserName = "******"
                };
                var kullaniciKayitSonuc = userManager.Create(bilgiIslemKullanicisi, "123456");

                //Kullanýcý oluþtuysa kullanýcýyý "BilgiIslem" rolüne ekle
                if (kullaniciKayitSonuc.Succeeded)
                {
                    userManager.AddToRole(bilgiIslemKullanicisi.Id, "BilgiIslem");
                }
            }
        }