19 lines
		
	
	
		
			786 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			786 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Core.Blueprint.DAL.Mongo.Entities.Collections;
 | |
| using Core.Blueprint.DAL.Mongo.Entities.Requests;
 | |
| 
 | |
| namespace Core.Blueprint.DAL.Mongo.Contracts
 | |
| {
 | |
|     public interface IBlueprintService
 | |
|     {
 | |
|         ValueTask<BlueprintCollection> CreateBlueprint(BlueprintRequest newBlueprint, CancellationToken cancellationToken);
 | |
| 
 | |
|         ValueTask<BlueprintCollection> GetBlueprintById(string _id, CancellationToken cancellationToken);
 | |
| 
 | |
|         ValueTask<IEnumerable<BlueprintCollection>> GetAllBlueprints(CancellationToken cancellationToken);
 | |
| 
 | |
|         ValueTask<BlueprintCollection> UpdateBlueprint(string _id, BlueprintCollection entity, CancellationToken cancellationToken);
 | |
| 
 | |
|         ValueTask<BlueprintCollection> DeleteBlueprint(string _id, CancellationToken cancellationToken);
 | |
|     }
 | |
| }
 | 
