Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult UpdateBracelet(int id, Bracelet braceletUpdateDto) { var braceletModel = _repository.GetBraceletById(id); if (braceletModel == null) { return(NotFound()); } Bracelet.CopyValues(braceletUpdateDto, braceletModel); _repository.UpdateBracelet(braceletModel); _repository.SaveChanges(); return(NoContent()); }