public ActionResult ManagerDetails() { BranchManagerRepository brepo = new BranchManagerRepository(); List <BranchManager> blist = brepo.GetAll(); return(View(blist)); }
[Route(""), HttpGet, /*BasicAthentication*/]//changed public IHttpActionResult Get() { return(Ok(BranchManagerRepository.GetAll())); }