예제 #1
0
        public async Task <IActionResult> Update(SqlBranch branch, int id)
        {
            await _branchService.Update(branch, id);

            return(Ok(branch));
        }
예제 #2
0
 public async Task Update(SqlBranch branch, int id)
 {
     await _unitOfWork.BranchRepository.Update(branch, id);
 }
예제 #3
0
 public async Task Add(SqlBranch branch)
 {
     await _branchService.Create(branch);
 }
예제 #4
0
 public async Task Create(SqlBranch branch)
 {
     await _unitOfWork.BranchRepository.Create(branch);
 }