public ActionResult Edit(int id) { var response = warehouseRepository.GetById(id, SessionUsuario); if (response.IsSuccess) { return(View(response.Data)); } return(View()); }
public override Warehouse GetById(Guid entityId) { return(_warehouseRepository.GetById(entityId)); }