public CodeNote Map(CodeNoteRequest source) { if (source == null) { return(null); } return(new CodeNote { Id = source.Id, Title = source.Title, Description = source.Description, ProjectId = source.ProjectId, NoteTypeId = source.NoteTypeId, GeneralSubjectId = source.GeneralSubjectId, SpecificSubjectId = source.SpecificSubjectId, IsBookMarked = source.IsBookMarked, CreatedDate = source.CreatedDate, ModifiedDate = source.ModifiedDate, UserId = source.UserId, }); }
public Task <CodeNoteRequest> AddCodeNote(CodeNoteRequest codeNoteRequest) { throw new NotImplementedException(); }
public async Task <CodeNoteRequest> Post(CodeNoteRequest codeNoteRequest) { return(await _codeNoteService.AddCodeNote(codeNoteRequest)); }