Add an interface in business service
using BusinessEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessServices
{
public interface IEventService
{
Event GetEventById(int Event_ID);
IEnumerable<Event> GetAllEvent();
Event CreateEvent(Event EventEntity);
Event UpdateEvent(int Event_ID, Event EventEntity);
bool DeleteEvent(int Event_ID);
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessServices
{
public interface IEventService
{
Event GetEventById(int Event_ID);
IEnumerable<Event> GetAllEvent();
Event CreateEvent(Event EventEntity);
Event UpdateEvent(int Event_ID, Event EventEntity);
bool DeleteEvent(int Event_ID);
}
}
Comments
Post a Comment