public IActionResult PostMemory([FromBody] Memory memory) { imemory.AddMemory(memory); return(CreatedAtAction("GetMemory", new { id = memory.MemoryId }, memory)); }
public IActionResult PostMemory([FromBody] Memory memory) { imemory.AddMemory(memory); return(CreatedAtAction("GetMemory", new { id = memory.MemoryId }, memory)); }