public ApiResponse AddPlantType(AddPlantTypeRequest request) { ApiResponse response = new ApiResponse(); response.Id = inventoryManager.AddPlantType(request); return(response); }
public long AddPlantType(AddPlantTypeRequest request) { return(persistence.AddPlantType(request)); }