コード例 #1
0
 public BHKType AddBHKType(BHKType bhkType)
 {
     // throw new NotImplementedException();
     this._unitOfWork.BHKTypeRepository.Add(bhkType);
     this._unitOfWork.Save();
     return(bhkType);
 }
コード例 #2
0
 public IActionResult AddBHKType(BHKType bhktype)
 {
     //UserService service = new UserService();
     return(Ok(_bhktypeService.AddBHKType(bhktype)));
 }