I am trying to call Eloquent\'s save() method on an existing record but getting an error from Illuminate\'s Query Builder.
Following the documentation on Laravel\'s web
you have to fetch your model after given an ->where
$this->employee = Employee::where('login', $login)->get();
or
$this->employee = Employee::where('login', $login)->first();
if you don't do that your Object $this->employee would't be one and you could not use ->save()