public IEnumerable <ImageWithDate> Get(string searchstring = "") { return(string.IsNullOrEmpty(searchstring) ? _imageServices.SearchImagesForUser(_userId) : _imageServices.SearchImagesForUser(Convert.ToInt32(_userId), searchstring)); }