// For Deleitng UserSpecialty

        public ActionResult DeleteSpecialty(int specid)
        {
            var Result = MyLibraryBL.DeleteSpecialty(specid, CurrentUser.UserId);

            int SpecId = MyLibraryBL.GetUserSpecialities(CurrentUser.UserId).Select(n => n.SpecialityId).FirstOrDefault();

            return(RedirectToAction("EditLibrary", new { specid = SpecId }));
        }