예제 #1
0
 public ServiceResponse PostToUpdate([FromBody] PinNote pinNote)
 {
     return(new ServiceResponse("Pin notu güncellenemedi",
                                delegate()
     {
         return m_PinNoteOperations.UpdatePinNote(pinNote);
     }));
 }
예제 #2
0
 public ServiceResponse PostToCreate([FromBody] PinNote value)
 {
     return(new ServiceResponse("Pin notu kaydedilemedi",
                                delegate()
     {
         return m_PinNoteOperations.CreatePinNote(value);
     }));
 }