/*Admin Branch*/
 @RequestMapping(
     value = "/getBranches/{pageNo}/{pageSize}",
     method = {RequestMethod.GET, RequestMethod.POST},
     produces = "application/json")
 public List<Branch> getBranches(@PathVariable int pageNo, @PathVariable int pageSize) {
   return branchdao.getAllBranches(pageNo, pageSize);
 }
 @RequestMapping(
     value = "/deleteBranch",
     method = {RequestMethod.GET, RequestMethod.POST},
     consumes = "application/json")
 public List<Branch> deleteBranch(@RequestBody Branch branch) {
   branchdao.deleteBranch(branch);
   return branchdao.getAllBranches(1, 5);
 }