Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using RobotNet10.FleetManager.Data;
|
||||
using RobotNet10.FleetManager.Shared.DTOs.RobotModel;
|
||||
|
||||
namespace RobotNet10.FleetManager.Services;
|
||||
|
||||
/// <summary>
|
||||
/// Service for managing robot models
|
||||
/// </summary>
|
||||
public interface IRobotModelService
|
||||
{
|
||||
Task<RobotModel> CreateAsync(CreateRobotModelRequest request);
|
||||
Task<List<RobotModel>> GetAllAsync();
|
||||
Task<RobotModel?> GetByIdAsync(Guid id);
|
||||
Task<RobotModel> UpdateAsync(Guid id, UpdateRobotModelRequest request);
|
||||
Task<bool> DeleteAsync(Guid id);
|
||||
Task<bool> ExistsAsync(string modelName);
|
||||
Task<List<RobotModel>> SearchAsync(string query);
|
||||
Task<RobotModelUsageInfoDto> GetUsageInfoAsync(Guid id);
|
||||
}
|
||||
Reference in New Issue
Block a user