예제 #1
0
 public Event Update(Event entity)
 {
     if (EventConflict(entity))
     {
         return(entity);
     }
     return(_postDal.Update(entity));
 }
예제 #2
0
 public IResult Update(Event entity)
 {
     try
     {
         _eventDal.Update(entity);
         return(new SuccessResult("İşlem başarılı"));
     }
     catch (Exception e)
     {
         return(new ErrorResult(e.Message));
     }
 }
예제 #3
0
 public void Update(Event entity)
 {
     _eventDal.Update(entity);
 }
예제 #4
0
 public int Update(Event _event)
 {
     return(_eventDal.Update(_event));
 }