package org.example.seed.service;

import org.example.seed.event.chef.*;

import java.util.concurrent.Future;

/**
 * Created by PINA on 15/06/2017.
 */
public interface ChefService {

    Future<CatalogChefEvent> requestChefs(final RequestAllChefEvent event);

    Future<ResponseChefEvent> createChef(final CreateChefEvent event);

    Future<ResponseChefEvent> requestChef(final RequestChefEvent event);

    Future<ResponseChefEvent> updateChef(final UpdateChefEvent event);

    Future<ResponseChefEvent> deleteChef(final DeleteChefEvent event);
}

@@ -70,43 +70,42 @@
 .*;%0A
-%0A
 import 
-java.util.concurrent.Future
+reactor.core.publisher.Mono
 ;%0A%0A/
@@ -181,22 +181,20 @@
  %7B%0A%0A    
-Future
+Mono
 %3CCatalog
@@ -248,38 +248,36 @@
 nt event);%0A%0A    
-Future
+Mono
 %3CResponseChefEve
@@ -318,38 +318,36 @@
 nt event);%0A%0A    
-Future
+Mono
 %3CResponseChefEve
@@ -390,38 +390,36 @@
 nt event);%0A%0A    
-Future
+Mono
 %3CResponseChefEve
@@ -472,14 +472,12 @@
     
-Future
+Mono
 %3CRes

change Future by Mono responses