public async Task <IActionResult> Post([FromBody] ManageNoteDTO model) { ManageNoteModel Note = new DTOMapper <ManageNoteDTO, ManageNoteModel>().Serialize(model); var response = await _noteService.AddNotes(Note); return(Ok(response)); }
public async Task <IActionResult> Post([FromBody] ManageNoteDTO model) { ManageNoteModel Note = new DTOMapper <ManageNoteDTO, ManageNoteModel>().Serialize(model); var response = await _noteService.AddNotes(Note); return(Ok(response)); }