Exemple #1
0
 public int Add(RiskOfHouse r)
 {
     _riskOfHouseDAL.Create(r);
     return(r.RohId);
 }
Exemple #2
0
 public IActionResult Post([FromBody] RiskOfHouse value)
 {
     return(Json(_riskOfHouseBLL.Add(value)));
 }