public async Task <ActionResult> Put(int id, [FromBody] RutineCreateDTO rutine) { return(await PutAndValidateOwner <RutineCreateDTO, Rutine>(id, rutine)); }
public async Task <ActionResult> Post([FromBody] RutineCreateDTO rutine) { return(await Post <RutineCreateDTO, Rutine, RutineDTO>(rutine, "GetRutine")); }