Taylor Strickland has seven years of professional experience in the property management industry. From 2010 to 2015, Taylor worked as a Leasing Consultant at UDR - Opening Doors to your future. From 2015 to 2022, Taylor worked at Lincoln Property Company, where they held the roles of Assistant Manager, Property Manager, and Assistant Community Manager. Currently, Taylor is an Assistant Manager at Bainbridge.
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Http\Requests\CreateUserRequest;
use App\User;
use App\Role;
use App\Photo;
use Illuminate\Support\Facades\Session;
class AdminUsersController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
//
$users = User::all();
return view('admin.users.index', compact('users'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
//
$roles = Role::lists('name', 'id')->all();
return view('admin.users.create', compact('roles'));
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(CreateUserRequest $request)
{
//
$input = $request->all();
if($file = $request->file('photo_id')){
$name = time() . $file->getClientOriginalName();
$file->move('images', $name);
$photo = Photo::create(['file'=>$name]);
$input['photo_id'] = $photo->id;
}
$input['password'] = bcrypt($request->password);
User::create($input);
return redirect('/admin/users');
}
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
Sign up to view 0 direct reports
Get started