mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-07 17:26:39 +00:00
18 lines
No EOL
453 B
C#
18 lines
No EOL
453 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using TicketManager.Models;
|
|
|
|
namespace TicketManager.Data
|
|
{
|
|
public interface IProjectRepository
|
|
{
|
|
Task<IEnumerable<Project>> ListAsync();
|
|
Task<Project> GetByIdAsync(int id);
|
|
Task AddAsync(Project project);
|
|
Task UpdateAsync(Project project);
|
|
Task<int> DeleteAsync(int id);
|
|
bool Exists(int id);
|
|
|
|
}
|
|
} |