public async Task <Branch> GetDetails(int id) { Branch branch = await _branchRepository.GetDetails(id); return(branch); }